<template>
	<view class="pd">
		<view class="bgff pd pt20 pm20 yj8 box mt20 z6 fz26 ov pr" v-for="sd in jjxf">
			<view class="kxczxcfdsgt vertical-bottom" :class="sd.isPass==2?'ab':''">
				<view class="" v-if="sd.isPass==1">
					待处理
				</view>
				<view class="" v-if="sd.isPass==2">
					已结案
				</view>
			</view>
			<view class="xczxcdtrtyy">
				<view class="">
					会员姓名:{{sd.realName}}
				</view>
				<view class="">
					联系方式:{{sd.userPhone}}
				</view>
				<view class="">
					企业:{{sd.companyName}}
				</view>
				<view class="">
					反馈类型:{{sd.contentTypeName}}
				</view>
				<view class="">
					反馈内容:{{sd.content}}
				</view>
			</view>
			<view class="btm pt20 mt20 z9 fz24">
				{{sd.createTime}}
			</view>
		</view>

		<view class="vertical-center mt100" v-if="jjxf.length<=0">
		
				<image src="../../static/img/noData.png" class="xczxcertfdgtrr"></image>
				<view class="mt20 z9 fz24">
					暂无数据!
				</view>
		
		</view>
	</view>
	<view class="xzczxcfsdtrt vertical-center box" @tap="hf('submitFeedback')">
		提交反馈
	</view>
</template>
<script lang="ts" setup>
	import { ref } from "vue"
	import { upImg, hf, yzphone, callBack, zidianall, dxrequest } from "@/util/index.js"
	import { onLoad,onShow } from "@dcloudio/uni-app"
	const jjxf = ref([])
	const inidsd = async () => {
		const {data} = await dxrequest("/api/userdata/page", {
			page: 1,
			type: 5,
			limit: 999
		})
		jjxf.value = data.list
	}

	onShow(()=>{
		inidsd()
	})
</script>

<style scoped>
	.xczxcdtrtyy {
		line-height: 1.8;
	}

	.kxczxcfdsgt {
		position: absolute;
		width: 200rpx;
		height: 200rpx;
		background: #ED7311;
		color: #fff;
		padding-bottom: 20rpx;
		transform: rotate(45deg);
		right: -100rpx;
		top: -100rpx;
	}

	.kxczxcfdsgt.ab {
		background: #00a861;
	}

	.xzczxcfsdtrt {
		position: absolute;
		right: 20rpx;
		bottom: 100rpx;
		z-index: 999;
		background: #ff2a00;
		color: #fff;
		width: 120rpx;
		height: 120rpx;
		border-radius: 50%;
		font-size: 34rpx;
		padding: 10rpx 10rpx;
		text-align: center;
	}
</style>